// __PUBLIC__/js/page/admin/user/addfield
require(['../../common'], function() {
  require(['user.addfield'])
})

define('user.addfield', [
  'jquery',
  'jqp/validate'
], function($) {
  'use strict';

  $('#J_form').validate({
    classPlace: '.kv',
    errorPlace: '.kv-error',
    errors: {
      fieldkey: {
        required: '请填写字段键名',
      },
      fieldname: {
        required: '请填写字段名称',
      },
    }
  })


})
